package cn.design.realize.objectadapter.Impl;

import cn.design.realize.objectadapter.AmericanVoltage110V;

/**
 * @author dlq
 * @description 美国电压具体实现类 : 输出通电消息
 * @date 2020/9/16 11:17
 * @since 1.0
 */
public class AmericanVoltage110VImpl implements AmericanVoltage110V {

    /**
     * 方法：美国佬通电---是否通电
     * @param voltage
     */
    @Override
    public void americanVoltagePowerOn(Integer voltage) {
        System.out.println("美国佬能正常通电了...... "+voltage+"V");
    }
}
